package com.kingyun.gpsinspection.purificationservice.facade.service.iam.qhse;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.qhse.Hazard;

/**
 * Created by yangsy on 2016/12/15.
 */
public interface IamHazardService
{
    int deleteByPrimaryKey(String hazardId);

    int insert(Hazard record);

    int insertSelective(Hazard record, String uploadFiles, String deletedFiles);

    Hazard selectByPrimaryKey(String hazardId);

    int updateByPrimaryKeySelective(Hazard record, String uploadFiles, String deletedFiles);

    int updateByPrimaryKey(Hazard record);

    JSONObject list(Hazard hazard);
}
